import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

import router from './router/index'

//全局引入element
import ElementUI from 'element-ui';

//引入css
import 'element-ui/lib/theme-chalk/index.css';
//注册插件
Vue.use(ElementUI)

new Vue({
  render: h => h(App),
  router,
  beforeCreate() {
    Vue.prototype.$bus = this
  }
}).$mount('#app')
